package com.example.demo.mapper;


import com.example.demo.po.User;
import com.example.demo.po.grade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface GradeMap {

    void SaveGrade(grade g);

    void DeleteGrade(int id);

    void UpdateGrade(grade g);

    List<grade> GetGradeList();

    List<grade> GetGradeListByName(String name);

}
